package com.itstudio.portal.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itstudio.portal.entity.Project;
import com.itstudio.portal.entity.RestResponse;
import com.itstudio.portal.entity.dto.ProjectAddDto;
import com.itstudio.portal.entity.dto.ProjectDto;

import javax.servlet.http.HttpServletRequest;


/**
 * (Project)表服务接口
 *
 * @author makejava
 * @since 2024-11-13 16:48:23
 */
public interface ProjectService extends IService<Project> {

    RestResponse add(ProjectAddDto projectAddDto, HttpServletRequest request);

    RestResponse delete(Long id);


    //修改项目
    public RestResponse updateProject(ProjectAddDto projectAddDto,HttpServletRequest request);

    RestResponse updateView(Long id);

    RestResponse getProjectById(Long id);

    RestResponse getList(ProjectDto projectDto);

    RestResponse selectMyProject(HttpServletRequest request);
}

